﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="login.ascx.cs" Inherits="Controls_login" %>
<style type="text/css">
    .style1
    {   
       
        text-align:center;
    }
    .style2
    {
         
    }
    .style3
    {
        text-align:center;
        width: 219px;
    }
</style>
<asp:Panel ID="pnDangNhap" runat="server">
<table class="style1">
    <tr style="background-color:#166E75; color:#fff; font-weight":bold">
        <td class="style2" colspan="2">
            Đăng Nhập hệ thống</td>
    </tr>
    <tr>
        <td class="style2">
            Tên Đăng Nhâp</td>
        <td class="style3">
            <asp:TextBox ID="txtUser" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtUser" ErrorMessage="*" ForeColor="#CC0000"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            Mật Khẩu</td>
        <td class="style3">
            <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtPass" ErrorMessage="*" ForeColor="#CC0000"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
       
        <td class="style3" colspan="2">
            <asp:Button ID="btnLogin" runat="server" Text="Đăng Nhập" 
                onclick="btnLogin_Click" /> &nbsp; &nbsp;
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
        </td>
    </tr>
</table>


</asp:Panel>
<p>
            <asp:Label ID="lblLogin" runat="server"></asp:Label>
        </p>

